#include "asm/regdef.h"
#include "asm/asm.h"
#include "asm/context.h"
#include "inst_test.h"
#include "trap.h"
    .set noreorder
    .set noat 
    .global main 
    .text 

main:
    ###test inst
    TEST_SW(0x61754443, 0x801077a0, 0x00007b14, 0x00007b14, 0x61754443)
    TEST_SW(0x5c4fb45a, 0x80104aac, 0x0000776c, 0x0000776c, 0x5c4fb45a)
    TEST_SW(0x14908300, 0x80104ae8, 0x00005bd8, 0x00005bd8, 0x14908300)
    TEST_SW(0x516da739, 0x801060cc, 0x00008950, 0x00008950, 0x516da739)

    HIT_GOOD_TRAP

inst_error:
    HIT_BAD_TRAP